/*
 * BlurFilter.h
 *
 *  Created on: 10 Nov 2012
 *      Author: hopey
 */

#ifndef BLURFILTER_H_
#define BLURFILTER_H_

#include "Filter.h"

namespace openlid {

class BlurFilter: public openlid::Filter {
public:
	BlurFilter(int radius = 5);
	virtual ~BlurFilter();
	Mat apply(const Mat& source) override;

	int get_radius() const {
		return radius;
	}

	void set_radius(int radius) {
		this->radius = radius;
	}

private:
	int radius;
};

} /* namespace openlid */
#endif /* BLURFILTER_H_ */
